package com.bvbot.core.extractor;

import java.util.ArrayList;
import java.util.List;

public class SimpleHttpRequest {

	private final String url;

	private List<SimpleHttpHeader> headers = new ArrayList<SimpleHttpHeader>();

	public SimpleHttpRequest(String url, List<SimpleHttpHeader> headers) {
		this.url = url;
		if (headers != null) {
			this.headers = headers;
		}
	}

	public List<SimpleHttpHeader> getHeaders() {
		return headers;
	}

	public void setHeaders(List<SimpleHttpHeader> headers) {
		this.headers = headers;
	}

	public String getUrl() {
		return url;
	}

}
